﻿using DAEProde.Domain;
using DAEProde.Tasks.ViewModels;
using SharpLite.Domain.DataInterfaces;
using System.Linq;
using System.Collections.Generic;

namespace DAEProde.Tasks
{
    public class PredictionCudTasks : BaseEntityCudTasks<Prediction, EditPredictionViewModel>
    {
        public PredictionCudTasks(IRepository<Prediction> predictionRepository)
            : base(predictionRepository) { }

        protected override void TransferFormValuesTo(Prediction toUpdate, Prediction fromForm)
        {
            toUpdate.Will = fromForm.Will;
        }
    }
}
